package com.xcc.annotation.ioc.bean;

import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;

public class Color {
    public Color() {
        System.out.println("===构建 Color===");
    }

    @PreDestroy
    public void destroy() {
        System.out.println("===销毁 Color===");
    }

    @PostConstruct
    public void init() {
        System.out.println("===初始化 Color===");
    }
}
